package com.example.ureport2.demo.mapper;

import com.example.ureport2.demo.model.Dataset;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DatasetMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Dataset record);

    int insertSelective(Dataset record);

    Dataset selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Dataset record);

    int updateByPrimaryKey(Dataset record);

    int insertData(@Param("type") int type,
                   @Param("age") int age);

    List<Dataset> findAll();
}